package com.itheima.day01.ZuoYe.ZuoYe3_5;

public class Student extends People{
    private double score;

    public void exam(){
        System.out.println("我正在考试~");
    }
    public Student() {
    }

    public Student(String name, int age, double score) {
        super(name, age);
        this.score = score;
    }

    public Student(double score) {
        this.score = score;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
}
